package cn.org.xuanguang.kepler.hormos.rdb.expection;

import cn.org.xuanguang.kepler.exception.ExceptionLevel;
import cn.org.xuanguang.kepler.exception.KeplerRuntimeException;

/**
 *
 */
public class EntityNullException extends KeplerRuntimeException {
    private static final int errCode = 100404;

    public EntityNullException(String desc) {
        super(errCode, desc);
    }
    public EntityNullException(int errCode, String desc) {
        super(errCode, desc);
    }

    public EntityNullException(int errCode, String desc, String ip, int port, String serviceKind) {
        super(errCode, desc, ip, port, serviceKind);
    }

    @Override
    public ExceptionLevel getLevel() {
        return ExceptionLevel.ERROR;
    }
}
